service RMService {
    i32 lookup(1:i32 key)
    string get(1:i32 key)
    void insert(1:i32 key, 2:string value)
    oneway void replicate(1:i32 key, 2:string value, 3:i32 ttl, 4:i32 origin)
    void deleteKey(1:i32 key)
    oneway void deleteReplicas(1:i32 key 2:i32 ttl, 3:i32 origin)
    oneway void getKeys(1:list<i32> buckets, 2:map<i32, string> keyValues, 3:i32 origin, 4:i32 ttl)
}
